package com.wwj.server.notify.msg;

import com.google.gson.annotations.SerializedName;
import com.wwj.server.model.NetBaseMsg;
import com.wwj.server.notify.common.MsgConstants;

public class UserJoinRoomMsgAck extends NetBaseMsg {

    private String type = MsgConstants.USER_JOIN_ROOM_ACK;

    @SerializedName("user_id")
    private String userId;

    @SerializedName("room_id")
    private String roomId;

    @SerializedName("device_id")
    private String deviceId;

    private String num;

    @SerializedName("last_three_header_icons")
    private String[] lastThreeHeaderIcons;

    private String result;

    public UserJoinRoomMsgAck() {
    }

    public UserJoinRoomMsgAck(UserJoinRoomMsg msg, String result) {
        this.userId = msg.getUserId();
        this.roomId = msg.getRoomId();
        this.deviceId = msg.getDeviceId();
        this.result = result;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getRoomId() {
        return roomId;
    }

    public void setRoomId(String roomId) {
        this.roomId = roomId;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String[] getLastThreeHeaderIcons() {
        return lastThreeHeaderIcons;
    }

    public void setLastThreeHeaderIcons(String[] lastThreeHeaderIcons) {
        this.lastThreeHeaderIcons = lastThreeHeaderIcons;
    }
}
